<template>
	<div>
		 <ul class="list">
	       <p class="texts"></p>
	      <li class="li border-bottom">
	        <div class="li-top">
	          <div class="li-head"></div>
	          <div class="li-name">微笑达人</div>
	           <img src="../../../assets/image/attention.png" alt="">
	        </div>
	         <p class="text"  @click="sendDtail">曾几何时为了兼容IE低版本浏览器而头痛，以为到Mobile时代可以跟这些麻烦说拜拜。可没想到到了移动时代，为了处理各终端的适配而乱了手脚。</p>
	        <img src="../../../assets/image/pw1.png" alt="">
	        <div class="li-bot">
	          <span class="date">2018-06-26</span>
	          <span class="watch"><i class="iconfont">&#xe640;</i>1200</span>
	          <span class="comment"><i class="iconfont">&#xe63a;</i>36</span>
	          <span class="like"><i class="iconfont">&#xe60c;</i>102</span>
	        </div>
	      </li>
	      <li class="li border-bottom">
	        <div class="li-top">
	          <div class="li-head"></div>
	          <div class="li-name">微笑达人</div>
	          <img src="../../../assets/image/attention.png" alt="">
	        </div>
	        <p class="text"  @click="sendDtail">Lorem ipsum dolor sit amet consectetur adipisicing elit. Omnis ullam quia deleniti eaque, nihil quaerat magni corrupti maxime alias, sit exercitationem enim vitae quo repudiandae ducimus amet! Aliquid, voluptate natus.</p>
	        <img src="../../../assets/image/news_one.png" alt="">
	        <div class="li-bot">
	          <span class="date">2018-06-26</span>
	          <span class="watch"><i class="iconfont">&#xe640;</i>1200</span>
	          <span class="comment"><i class="iconfont">&#xe63a;</i>36</span>
	          <span class="like"><i class="iconfont">&#xe60c;</i>102</span>
	        </div>
	      </li>
	    </ul>
	</div>
</template>
<script>
export default {
  name: "dts",
  data() {
    return {
      msg: "w"
    };
  },
  methods:{
  	sendDtail(){
      this.$router.push({
        path: "/jobdetail",
        query:{//通过query 传递参数
          Detail:"DetailDesc",
        }
      });
    }
  }
};
</script>
<style lang="stylus" scoped>
.li {
	padding-bottom: 0.2rem;
}

.li-top {
	display: flex;
	flex-direction: row;
	white-space: nowrap;
	margin-bottom: 1px;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	background: #fff;
	padding: 0.15rem 0;

	.li-head {
		width: 0.5rem;
		height: 0.5rem;
		background: red;
		border-radius: 100%;
		margin-left: 0.1rem;
	}

	.li-name {
		font-size: 0.2rem;
		flex: 1;
		margin-left: 0.2rem;
	}
}

.text {
	font-size: 0.23rem;
	line-height: 150%;
	margin: 0.2rem 0;
}
.text:hover{
	color:#d42525;
  cursor:pointer;
}
.li-bot {
	font-size: 0.15rem;
	color: #aaa;
	margin-top: 0.2rem;
}

.li-bot span {
	margin-right: 1.2rem;
}

.iconfont {
	margin-right: 0.05rem;
}
</style>